<!--<style>-->
    <!--.table-adminlog tr td {-->
        <!--word-break: break-all;-->
    <!--}-->
<!--</style>-->
<table class="table table-striped table-adminlog">
    <thead>
    <tr>
        <th width="100" style="color:red">{:__('药品信息')}</th>
        <!--<th>{:__('Content')}</th>-->
    </tr>
    </thead>
    <tbody>

    <tr>
        <td>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('产品编码')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-code" class="form-control" name="row[code]" readonly="readonly" type="text" value="{$row.code|htmlentities}">
                </div>
            </div>
        </td>
    </tr>

    <tr>
        <td>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('药品名')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-medicine_name" class="form-control" name="row[medicine_name]" readonly="readonly" type="text" value="{$row.medicine_name|htmlentities}">
                </div>
            </div>
        </td>
    </tr>

    <tr>
        <td>
            <div class="form-group">
                <label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('单位')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <select id="c-pid" data-rule="required" class="form-control selectpicker" disabled="disabled" name="row[unit]">
                        <option data-type="type" value="瓶"  {if condition="$row.unit == '瓶'"}selected{/if} >瓶</option>
                        <option data-type="type" value="支"  {if condition="$row.unit == '支'"}selected{/if}>支</option>
                        <option data-type="type" value="个"  {if condition="$row.unit == '个'"}selected{/if}>个</option>
                        <option data-type="type" value="粒"  {if condition="$row.unit == '粒'"}selected{/if}>粒</option>
                        <option data-type="type" value="片"  {if condition="$row.unit == '片'"}selected{/if}>片</option>
                        <option data-type="type" value="包"  {if condition="$row.unit == '包'"}selected{/if}>包</option>
                        <option data-type="type" value="袋"  {if condition="$row.unit == '袋'"}selected{/if}>袋</option>
                        <option data-type="type" value="卷"  {if condition="$row.unit == '卷'"}selected{/if}>卷</option>
                        <option data-type="type" value="箱"  {if condition="$row.unit == '箱'"}selected{/if}>箱</option>
                        <option data-type="type" value="条"  {if condition="$row.unit == '条'"}selected{/if}>条</option>
                        <option data-type="type" value="贴"  {if condition="$row.unit == '贴'"}selected{/if}>贴</option>
                        <option data-type="type" value="块"  {if condition="$row.unit == '块'"}selected{/if}>块</option>
                        <option data-type="type" value="桶"  {if condition="$row.unit == '桶'"}selected{/if}>桶</option>
                        <option data-type="type" value="套"  {if condition="$row.unit == '套'"}selected{/if}>套</option>
                        <option data-type="type" value="双"  {if condition="$row.unit == '双'"}selected{/if}>双</option>
                        <option data-type="type" value="根"  {if condition="$row.unit == '根'"}selected{/if}>根</option>
                    </select>
                </div>
            </div>
        </td>
    </tr>

    <tr>
        <td>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('规格型号')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-specification" class="form-control" name="row[specification]" readonly="readonly" type="text" value="{$row.specification|htmlentities}">
                </div>
            </div>
        </td>
    </tr>

    <tr>
        <td>
            <div class="form-group">
                <label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('供应商')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <select id="c-pid1" data-rule="required" class="form-control selectpicker" disabled="disabled" name="row[supplier_name]">
                        {foreach name="supplier" item="vo"}
                        <option data-type="type" value="{$vo.name}" {if condition="$row.supplier_name == $vo.name"}selected{/if}>{$vo.name}</option>
                        {/foreach}
                    </select>
                </div>
            </div>
        </td>
    </tr>

    <tr>
        <td>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('药品型号')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-model_number" class="form-control" name="row[model_number]" readonly="readonly" type="text" value="{$row.model_number|htmlentities}">
                </div>
            </div>
        </td>
    </tr>

    <tr>
        <td>
            <div class="form-group">
                <label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('药品分类')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <select id="c-pids" data-rule="required" class="form-control selectpicker" name="row[type]">
                        <option data-type="type" value="药品" {if condition="$row.type == '药品'"}selected{/if}>药品</option>
                        <option data-type="type" value="耗材"  {if condition="$row.type == '耗材'"}selected{/if}>耗材</option>
                        <option data-type="type" value="保健品"  {if condition="$row.type == '保健品'"}selected{/if}>保健品</option>
                    </select>
                </div>
            </div>
        </td>
    </tr>

    <tr>
        <td>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('备注')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <textarea data-rule="required" name="row[msg]" readonly="readonly" rows="10" cols="67">{$row.msg|htmlentities}</textarea>
                </div>
            </div>
        </td>
    </tr>

    </tbody>
</table>

<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>

<script>

</script>